<!--# layout("/common/layout.html",{"jsBase":"/jscms/todo/"}){ -->


<table id="todo" lay-filter="todo"></table>
<!--#} -->
<script>
    layui.use('table', function(){
        var table = layui.table;

        table.render({
            elem: '#todo'
            ,url:Common.ctxPath + '/cms/todo/todo.json/'
            ,cellMinWidth: 80 //全局定义常规单元格的最小宽度，layui 2.2.1 新增
            ,cols: [[
                {field:'item', title: '业务项'}
                ,{field:'count',title: '条数'}
            ]]
        });
    });
</script>
